package course13;

public class Mistake2 {
    public static void main(String[] args) {
        try {
            int i = 10 / 0;
            System.out.println("这个式子是正确的");
        } catch (Exception e) {
            System.out.println("Exception thrown: " + e);
            System.out.println("出错啦啦啦啦");
        }

        //不管有没有异常，都会执行一次
        finally {
            System.out.println("lalala");
            System.exit( 0);
        }
    }
}
